import random

import DButils
db=DButils.DButils()


for i in range(10):
    param=("zhang%s"%i,random.randint(18,25),random.choice(["男","女"]),random.randint(150,200))
    db.update("insert into person(username,age,sex,high) values (%s,%s,%s,%s)",param)
db.select("select * from person")